package com.geely.design.pattern.behavioral.responsibilitychain;

public class Test {
    public static void main(String[] args) {
        Course course = new Course();
        course.setName("java设计模式");
        course.setArticle("");

        ArticleApprover articleApprover = new ArticleApprover(null);
        NameApprover nameApprover = new NameApprover(articleApprover);

        nameApprover.deploy(course);

    }
}
